package com.exercise.rpc.common.model;/**
 * Created by kete on 2018-10-25.
 */

import java.io.Serializable;

/**
 * 作者：kete
 * 创建时间：2018-10-25 17:22
 * 功能描述：
 * 版本：
 */
public class RpcRequest implements Serializable {

    private String requestId;

    private String interfaceName;

    private String methodName;

    private String version;

    private Class<?>[] parameterTypes;

    private Object[] parameters;

    public RpcRequest() {
    }

    public RpcRequest(String requestId) {
        this.requestId = requestId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public Object[] getParameters() {
        return parameters;
    }

    public void setParameters(Object[] parameters) {
        this.parameters = parameters;
    }
}
